package com.example.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
* <p>
* 商品评价的点赞用户
* </p>
*
* @author 作者
* @since 2022-05-29
*/
@Getter
@Setter
@Accessors(chain = true)
@AllArgsConstructor
@TableName("r_evaluation_user_thumb_up")
public class EvaluationUserThumbUp extends Model<EvaluationUserThumbUp> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "evaluation_id", type = IdType.ASSIGN_ID)
    private Long evaluationId;
    //点赞的用户id
    private Long userId;

    @Override
    public String toString() {
        return "EvaluationUserThumbUp{" +
                "evaluationId=" + evaluationId +
                ", userId=" + userId +
                '}';
    }
}
